package com.danciyixue.boot.dcyx.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.danciyixue.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;

/**
 * 用户登录验证信息实体对象
 *
 * @author youlaitech
 * @since 2025-06-15 16:37
 */
@Getter
@Setter
@TableName("dcyx_user_login_info")
public class UserLoginInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 登录ID或Token
     */
    private String jId;
    /**
     * 加密或序列化的登录数据
     */
    private String data;
    /**
     * 加密Key
     */
    @TableField(value = "`key`")
    private String key;
    /**
     * 关联用户ID
     */
    private Long userId;
    /**
     * 登录时间
     */
    private LocalDateTime loginTime;
}
